﻿#region Version Info
/* ========================================================================
* 【本类功能概述】
* 
* 作者：李荣楠
* 时间：2013-11-18 14:32:12
* 文件名：EntityFeild
* .net版本：4.0 
* ========================================================================
*/
#endregion
using System.Data;

namespace LCL.Entity
{
    public class BaseEntityFeild
    {
        protected object data=null;
        /// <summary>
        /// 数据
        /// </summary>
        public object Data
        {
            get { return data; }
            set { data = value; }
        }
        protected SqlDbType dataType;
        /// <summary>
        /// 数据类型
        /// </summary>
        public SqlDbType DataType
        {
            get { return dataType; }
            set { dataType = value; }
        }
        private FieldType type = FieldType.ordinary;
        /// <summary>
        /// 字段类型
        /// </summary>
        public FieldType Type
        {
            get { return type; }
            set { type = value; }
        }
    }
}
